package java基础.struct;

import java.util.Scanner;

/**
 * @author IT_Jay
 * @date 2021/12/11 22:45
 */

public class Demo05 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        if (a>0 && a<100){
            if (a>=50 && a<1000){
                System.out.println(a);
            }
        }else {
            System.out.println("false");
        }
        //献血案例
        int age = 22;
        int weight =70;
        if (age >= 18){
            if (weight >= 50){
                System.out.println("符合要求，可以献血");
            }
        }else {
            System.out.println("不符合要求！");
        }



        scanner.close();
    }
}
